#include <stdio.h>
#include <unistd.h>

int main(int argc, const char *argv[]) {
    int ch;
    opterr = 0;
    while ((ch = getopt(argc, argv, "a:bcde::")) != -1) {
        printf("option=%c optopt=%c optarg=%s\n", ch, optopt, optarg);
    }

    return 0;
}
